<?php
  if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');

    require_once('include/MVC/View/views/view.detail.php');
    require_once('include/DetailView/DetailView.php');
    require_once("include/utils/layout_utils.php");
    class AccountsViewDetail extends ViewDetail{
        function AccountsViewDetail(){
            parent::ViewDetail(); 
        }
        function display(){
            $this->displayHTML();
             parent::display();
        }
        
        function displayHTML(){        
        if($this->bean->uudaithanhtoannoidia=='1') {
            $this->ss->assign('uudaithanhtoannoidia','checked');
        }
        else{
            $this->ss->assign('uudaithanhtoannoidia','');
        }
        
        if($this->bean->uudaithanhtoanquocte=='1'){
            $this->ss->assign('uudaithanhtoanquocte','checked'); 
        }
        else{
           $this->ss->assign('uudaithanhtoanquocte',''); 
        }
        if($this->bean->uudaichuyentien=='1'){
            $this->ss->assign('uudaichuyentien','checked'); 
        }
        else{
            $this->ss->assign('uudaichuyentien','');
        }
        
        if($this->bean->uudaivaytien=='1'){
            $this->ss->assign('uudaivaytien','checked'); 
        }
        else{
            $this->ss->assign('uudaivaytien','');
        }
        }
    }
?>
